package pers.patterns.yang.strategy;

public class Calculator implements Operation{
    private Operation operation;

    public Calculator(Operation operation){
        this.operation = operation;
    }

    @Override
    public int doOperation(int  num1, int num2) {
        return this.operation.doOperation(num1, num2);
    }
}
